Skip to content

docs: Update README examples from v1 to v2#55

Merged
masci merged 2 commits intomainfrom
copilot/update-readme-to-use-v2
Mar 14, 2026
Merged

docs: Update README examples from v1 to v2#55
masci merged 2 commits intomainfrom
copilot/update-readme-to-use-v2

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 13, 2026

v2 added support for the latest Node.js runtime available in GitHub Actions. README examples still referenced v1, misleading new users away from the current release.

Changes

  • masci/datadog references: Updated all 5 occurrences of masci/datadog@v1masci/datadog@v2 across all usage examples (metrics, events, service checks, logs, and inputs reference)
  • actions/checkout references: Updated 3 occurrences of actions/checkout@v2actions/checkout@v4 in examples that include a checkout step
  • Warning note: Updated the suggested pinned version tag example from @v1 to @v2
Original prompt

This section details on the original issue you should resolve

<issue_title>[docs] Update the README to use v2 in the examples.</issue_title>
<issue_description>Now that v2 was released with support for the latest version of node.js available in Github actions, we should update the README.md file to showcase the use of the latest version of the project</issue_description>

<agent_instructions>Work on this task</agent_instructions>

Comments on the Issue (you are @copilot in this section)

@masci @copilot work on this

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Co-authored-by: masci <7241+masci@users.noreply.github.com>
Copilot AI changed the title [WIP] [docs] Update the README to use v2 in examples docs: Update README examples from v1 to v2 Mar 13, 2026
Copilot AI requested a review from masci March 13, 2026 20:54
@masci masci marked this pull request as ready for review March 13, 2026 20:55
Copilot AI review requested due to automatic review settings March 13, 2026 20:55
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates README examples to reference the current v2 release of the masci/datadog action, and bumps actions/checkout references to v4, matching what's currently available.

Changes:

  • Updated all masci/datadog@v1masci/datadog@v2 references across usage examples
  • Updated actions/checkout@v2actions/checkout@v4 in example workflows
  • Updated the warning note's suggested pinned version tag from @v1 to @v2

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@masci masci merged commit 70e26f3 into main Mar 14, 2026
6 checks passed
@masci masci deleted the copilot/update-readme-to-use-v2 branch March 14, 2026 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[docs] Update the README to use v2 in the examples.

3 participants